#!/usr/bin/env python

import time
import resource.string.app

from _console import Console

class Captor(Console):

    def run(self):
        self.greeting(resource.string.app)
        
        if self.loadCamera():
            resized = self.setResolution()
            self.saveSnapshot(resized)
        
        self.farewell()
